//
//  UIBarButtonItem+WJ.h
//  BeDeJie
//
//  Created by jerry on 2017/1/25.
//  Copyright © 2017年 jerry. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIBarButtonItem (WJ)

// 快速创建UIBarButtonItem
+ (UIBarButtonItem *)itemWithImage:(UIImage *)image highImage:(UIImage *)highImage
                            target:(id)target action:(SEL)action;

+ (UIBarButtonItem *)itemWithImage:(UIImage *)image selImage:(UIImage *)selImage
                            target:(id)target action:(SEL)action;

+ (UIBarButtonItem *)backItemWithImage:(UIImage *)image highImage:(UIImage *)highImage
                                target:(id)target action:(SEL)action title:(NSString *)title;

@end
